<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const name = "jack";
      const num = 20;
      // ${} 解析 变量、值、表达式
      console.log(`this is str content ${name}`);
      console.log(`this is str content ${"jack"}`);
      console.log(`this is str content ${100}`);
      console.log(`this is str content ${1 + 2}`);
      console.log(`this is str content ${1 + 2 + num}`);
    </script>
  </body>
</html>
